import type { PaginationProps } from "antd";

export type TabelPropsType = {
  loading: boolean;
  pagination: PaginationProps;
};

export type ApiResponseType = {
  id: number;
  gradeAndClass: string;
  classTeacher: string;
  classTeacherId: number;
  subject: number;
  createBy: string;
  createById: number;
  updateBy?: string;
  updateById?: string;
  createDate: string;
  updateDate: string;
  teachers: Teacher[];
};

export type Teacher = {
  value: number;
  label: string;
  type: string;
};
